import React from 'react';
import ReactDOM from 'react-dom';
import './style/index.css';
import App from './pages/app/App';

import 'antd/dist/antd.css';  // or 'antd/dist/antd.less'

import * as serviceWorker from './serviceWorker';
// import serviceWorker from './serviceWorker'
import { BrowserRouter } from 'react-router-dom'

ReactDOM.render(
  <BrowserRouter>
    <App />
  </BrowserRouter>, 
document.getElementById('root'));

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: http://bit.ly/CRA-PWA
serviceWorker.unregister();
